package com.efounder.news.bean;

import java.io.Serializable;
import java.util.List;

/**
 * 新闻列表条目Bean
 * sunlp on 2017/10/10
 */

public class NewsListBean implements Serializable {
    /*
    {
        "id":"967ab8de49534276710b07c4d11afbcdc5f870bac5aa0418a046487aceec848a",
        "title":"护理学院组织上党课知党史、学党章、强党性学习",
        "date":"2017-12-03",
        "read_count":0,
        "media_name":"山大视点",
        "comment_count":"1",
        "image_list":[

        ]
     */
    private String newId;
    private int cellType;
    private String title;
    private int resourceType;
    private List<ImgBean> imgBeanList;
    private String imgsrc;
    //视频长度
    private String videoTotalDuration;

    private String logo;
    private String logoColor;
    private String fromWhere;
    private String interactions;
    private String newsTime;

    public String getNewId() {
        return newId;
    }

    public void setNewId(String newId) {
        this.newId = newId;
    }

    public String getFromWhere() {
        return fromWhere;
    }

    public void setFromWhere(String fromWhere) {
        this.fromWhere = fromWhere;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public String getLogoColor() {
        return logoColor;
    }

    public void setLogoColor(String logoColor) {
        this.logoColor = logoColor;
    }

    public String getInteractions() {
        return interactions;
    }

    public void setInteractions(String interactions) {
        this.interactions = interactions;
    }

    public String getNewsTime() {
        return newsTime;
    }

    public void setNewsTime(String newsTime) {
        this.newsTime = newsTime;
    }

    public int getCellType() {
        return cellType;
    }

    public void setCellType(int cellType) {
        this.cellType = cellType;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public int getResourceType() {
        return resourceType;
    }

    public void setResourceType(int resourceType) {
        this.resourceType = resourceType;
    }

    public List<ImgBean> getImgBeanList() {
        return imgBeanList;
    }

    public void setImgBeanList(List<ImgBean> imgBeanList) {
        this.imgBeanList = imgBeanList;
    }

    public String getImgsrc() {
        return imgsrc;
    }

    public void setImgsrc(String imgsrc) {
        this.imgsrc = imgsrc;
    }

    public String getVideoTotalDuration() {
        return videoTotalDuration;
    }

    public void setVideoTotalDuration(String videoTotalDuration) {
        this.videoTotalDuration = videoTotalDuration;
    }


    public static class ImgBean implements Serializable{
        /**
         * imgsrc : http://cms-bucket.nosdn.127.net/416fb909a7be4ef0994a049dc72d798820161226090753.png
         */

        private String imgsrc;

        public String getImgsrc() {
            return imgsrc;
        }

        public void setImgsrc(String imgsrc) {
            this.imgsrc = imgsrc;
        }

        @Override
        public String toString() {
            return "ImgBean{" +
                    "imgsrc='" + imgsrc + '\'' +
                    '}';
        }
    }

}
